getSystemLocales

@NonNull
open fun getSystemLocales(@NonNull context: @NonNull Context): @NonNull LocaleListCompat(source)

Returns the current system locales, ignoring app-specific overrides.

Note: Apps should generally access the user's locale preferences as indicated in their in-process android.os.LocaleLists. However, in case an app-specific locale is set, this method helps cater to rare use-cases which might require specifically knowing the system locale.